<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>溢出属性</title>
		<style>
			/*溢出元素：子元素大于父元素【宽与高】*/
			div{
				width: 400px;
				height: 100px;
				border: 1px solid red;
				/*溢出：找到父元素，加溢出处理属性：方案属性值：
				                                hidden 溢出隐藏
												scrroll 溢出滚动  【页面滚动条：父元素宽高小于子元素：xy】
												visiable 正常属性
												auto 自动切换以上状态
				*/
			   overflow: hidden;
			   overflow: scroll;/*xy两个方向*/
			   overflow: visible;
			   overflow: auto;
			   /*overflow-x: ; overflow-y 功能：去掉某侧滚动条*/
			   overflow-x: scroll;
			   overflow-y: hidden;
			}
			p{
				width: 800px;
			}
		</style>
	</head>
	<body>
		<!-- 外层：div 理解：水杯 -->
		<div>
			<!-- 内层：p 理解：水 -->
			<p>
				<img src="../Day03/img/p_small_001.jpg" alt="1">
				<img src="../Day03/img/p_small_002.jpg" alt="2">
				<img src="../Day03/img/p_small_003.jpg" alt="3">
				<img src="../Day03/img/p_small_004.jpg" alt="4">
				<img src="../Day03/img/p_small_005.jpg" alt="5">
				<img src="../Day03/img/p_small_006.jpg" alt="6">
				<img src="../Day03/img/p_small_007.jpg" alt="7">
			</p>
		</div>
	</body>
</html>